package main

import "fmt"

func main() {
	var mapslice1 = make([]map[string]string, 2)
	mapslice1[0] = make(map[string]string, 2)
	mapslice1[0]["name"] = "zw"
	mapslice1[0]["age"] = "12"
	mapslice1[1] = make(map[string]string, 2)
	mapslice1[1]["name"] = "test"
	mapslice1[1]["age"] = "13"
	fmt.Println(mapslice1)
	// 动态增加
	mapslice2 := map[string]string{
		"name": "zw2",
		"age":  "12",
	}
	mapslice1 = append(mapslice1, mapslice2)
	fmt.Println(mapslice1)

}
